package com.beifu.manager.api.controller.login;

import javax.servlet.http.HttpServletRequest;

import org.apache.log4j.Logger;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.utils.Constants;
import com.utils.ResponseHelp;


@Controller
public class NoLoginRetMesController {
	
	private Logger Log = Logger.getLogger(this.getClass());
	
	@ResponseBody
	@RequestMapping(value="/login/noLoginMes",produces=MediaType.APPLICATION_JSON_VALUE+";charset=utf-8")
	public String goOrganizationIndex(Model model, HttpServletRequest request){
		Log.info(">> 块去登录吧!!");
		
		return ResponseHelp.responseApiErrorText(Constants.ErrorMessage.RETCODE0000005.getRetCode()
				, Constants.ErrorMessage.RETCODE0000005.getRetMsg());
	}
}
